package gateway.config;


import com.yymt.comp.gateway.entity.RouteInstance;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Configuration
@ConfigurationProperties(prefix = "yymt.gateway", ignoreInvalidFields = true)
@Data
public class CustomRouteConfig {

  private List<RouteInstance> routes;
}
